import com.alibaba.dubbo.container.Main;
import com.ndp.fb.config.BaseConfig;
import com.ndp.fb.config.XmlBaseConfig;

import java.util.Properties;

/**
 * Created by hunk.qin on 2015/1/22.
 */
public class WalleRunMain {

    public static void main(String[] args) {
//        SpringBootContainer.containerPostList.add(new ContainerPost() {
//            @OverrideadaccountsSchedulerService
//            public void doPost(ApplicationContext applicationContext) {
//                while (true) {
//                    HttprequestSchedulerService httprequestSchedulerService = applicationContext.getBean(HttprequestSchedulerService.class);
//                    httprequestSchedu	`lerService.requestConsumer();
//                    try {
//                        Thread.sleep(5000);
//                        System.out.println("--------------------------------aaaaaaaaaaaaa----------------------");
//                    } catch (InterruptedException e) {
//                        e.printStackTrace();
//                    }
//                }
//            }
//        });
        Properties prop = System.getProperties();
        BaseConfig.DEV = true;
        XmlBaseConfig.LoadXmlConfig = false;
        String[] argsparams = {"springbootweb"};
        Main.main(argsparams);
    }
}

